
var mongoose = require('mongoose');
var Schema = mongoose.Schema;


//每天聊天的消息数
var CountSchema= new Schema({
    date:String,
    year:String,
    month:String,
    day:String,
    time:Number,
    total_num:{
        type:Number,
        default:1,
    },
    uid_list:{
        type:Array,
        default:[],
    }
});


var Counts = mongoose.model('Counts', CountSchema)

module.exports = Counts;